func github.com/refraction-networking/utls.uAssert

19 uses

	github.com/refraction-networking/utls (current package)
		u_common.go#L799: func uAssert(condition bool, msg string) {
		u_conn.go#L113: 		uAssert(uconn.clientHelloBuildStatus == NotBuilt, "BuildHandshakeState failed: invalid call, client hello has already been built by utls")
		u_conn.go#L127: 		uAssert(uconn.clientHelloBuildStatus == BuildByUtls || uconn.clientHelloBuildStatus == NotBuilt, "BuildHandshakeState failed: invalid call, client hello has already been built by go-tls")
		u_conn.go#L200: 	uAssert(helloLen == len(uconn.HandshakeState.Hello.Raw), "tls: uApplyPatch Failed: the patch should never change the length of the marshaled clientHello")
		u_session_controller.go#L102: 	uAssert(s.state == NoSession && !s.locked, "tls: aboutToLoadSession failed: must only load session when the session of the client hello is not locked and when there's currently no session")
		u_session_controller.go#L142: 	uAssert(!extension.IsInitialized(), "tls: initialization failed: the extension is already initialized")
		u_session_controller.go#L144: 	uAssert(extension.IsInitialized(), "tls: initialization failed: the extension is not initialized after initialization")
		u_session_controller.go#L190: 	uAssert(s.sessionTicketExt != nil && s.state == SessionTicketExtInitialized, "tls: setSessionTicketExt failed: invalid state")
		u_session_controller.go#L198: 	uAssert(s.pskExtension != nil && (s.state == PskExtInitialized || s.state == PskExtAllSet), "tls: setPskToUConn failed: invalid state")
		u_session_controller.go#L206: 		uAssert(s.uconnRef.HandshakeState.Session == pskCommon.Session && sliceEq(s.uconnRef.HandshakeState.State13.EarlySecret, pskCommon.EarlySecret) &&
		u_session_controller.go#L227: 	uAssert(s.shouldUpdateBinders(), "tls: updateBinders failed: shouldn't update binders")
		u_session_controller.go#L266: 	uAssert(s.uconnRef.clientHelloBuildStatus == NotBuilt, "tls: checkSessionExts failed: we can't modify the session after the clientHello is built")
		u_session_controller.go#L275: 			uAssert(numSessionExt == 0, "tls: checkSessionExts failed: multiple ISessionTicketExtensions in the extension list")
		u_session_controller.go#L285: 			uAssert(i == len(s.uconnRef.Extensions)-1, "tls: checkSessionExts failed: PreSharedKeyExtension must be the last extension")
		u_session_controller.go#L321: 	uAssert(!s.locked, "tls: LoadSessionCoordinator.onEnterLoadSessionCheck failed: session is set and locked, no call to loadSession is allowed")
		u_session_controller.go#L336: 	uAssert(s.callingLoadSession, "tls: LoadSessionCoordinator.onLoadSessionReturn failed: it's not loading sessions, perhaps this function is not being called by loadSession.")
		u_session_controller.go#L351: 	uAssert(s.callingLoadSession, "tls: shouldWriteBinders failed: LoadSessionCoordinator isn't loading sessions, perhaps this function is not being called by loadSession.")
		u_session_ticket.go#L60: 	uAssert(!e.Initialized, "tls: InitializeByUtls failed: the SessionTicketExtension is initialized")
		u_session_ticket.go#L61: 	uAssert(session.version == VersionTLS12 && session != nil && ticket != nil, "tls: InitializeByUtls failed: the session is not a tls 1.2 session")